home *** CD-ROM | disk | FTP | other *** search
- Path: bmerhc5e.bnr.ca!bmerhe78!studnt1
- From: studnt1@bmerhe78.bnr.ca (Jean Giblin )
- Newsgroups: comp.lang.c
- Subject: Pound defines
- Date: 16 Jan 1996 18:31:43 GMT
- Organization: Bell Northern Research
- Message-ID: <4dgquf$fuq@bmerhc5e.bnr.ca>
- NNTP-Posting-Host: bmerhe78.bnr.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- hello everyone:
-
- I was wondering if anybody out there knows about a C command that prints the
- the name of the define when given the number. Example:
-
- #define MAX 20
-
- when given 20 it will return max.
-
- I thought a command existed, but I could be wrong. Please respond to this newgroup,
- and not my e-mail address.
-
- Thanks
- Nick
-